
// 开发环境
const dev = {
    baseUrl: "https://api.qy-cloud.cn",
    fileUrl: "http://localhost",
	baseWs: "ws://localhost:18181",
	clientId: "uds-prod",
	name:'DEV'
};
// UAT环境
const uat = {
    baseUrl: "https://www.sftti.com",
    fileUrl: "https://www.sftti.com",
	baseWs: "ws://localhost:18181",
	clientId: "uds",
	name:'UAT'
};
// 生产环境
const prod = {
    baseUrl: "https://api.qy-cloud.cn",
    fileUrl: "https://file.qy-cloud.cn",
	baseWs: "wss://api.qy-cloud.cn",
	clientId: "uds-prod",
	name:'PROD'
};

//默认生产环境
let config = prod;
//如果是开发环境
if (process.env.NODE_ENV == "development") {
    config = dev;
} else if (process.env.NODE_ENV == "uat") {
    config = uat;
} else {
    config = prod;
}

export default config;